package com.siao.errors
{
	import com.siao.display.DisplayElement;
	
	import flash.utils.getQualifiedClassName;
	
	/**
	 * 显示元素错误
	 * @author SiaoLeon
	 */
	public class ElementError extends Error
	{
		// -------------------------------------------------------------------------------------------------------- 静态常量
		
		// -------------------------------------------------------------------------------------------------------- 静态变量
		
		// -------------------------------------------------------------------------------------------------------- 静态方法
		
		// -------------------------------------------------------------------------------------------------------- 静态函数
		
		// -------------------------------------------------------------------------------------------------------- 属性
		
		// -------------------------------------------------------------------------------------------------------- 变量
		
		// -------------------------------------------------------------------------------------------------------- 构造
		
		/**
		 * 构造函数
		 */
		public function ElementError(element:DisplayElement, message:String)
		{
			super(getQualifiedClassName(element) + message);
		}
	
		// -------------------------------------------------------------------------------------------------------- 方法
	
		// -------------------------------------------------------------------------------------------------------- 函数
	
	}
}
